<!--
  Generated template for the Center page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

	<ion-navbar>
		<ion-title>个人中心</ion-title>
	</ion-navbar>

</ion-header>

<ion-content>
	<ion-list>
		<ion-item class="headder">
			<ion-avatar item-left>
				<img class="avatar-image" src="{{centerInfo.photo==''?'./assets/imgs/personal.png':centerInfo.photo}}">
			</ion-avatar>
			<div class="nickname">{{centerInfo.name}}</div>
			<div class="placename">{{centerInfo.office}}</div>
		</ion-item>
	</ion-list>

	<ion-list>
		<ion-item tappable  (click)="openuserinfo()">
			我的信息
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item>
		<!--<ion-item tappable  (click)="openuserwages()">
			我的工资
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item>-->
		<ion-item tappable  (click)="openuseruse()">
			我的领用
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item>
		<!-- <ion-item tappable  (click)="openuserwork()">
			我的考勤
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item> -->
	</ion-list>

	<ion-list>
		<ion-item tappable  (click)="openuserpassedit()">
			修改密码
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item>
		<ion-item tappable  (click)="openloginout()">
			注销登录
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item>
		<ion-item tappable  (click)="opencheckupdate()">
			版本更新<span class="version">(当前版本v1.0.0)</span>
			<i class="iconfont icon-xiangqing" item-right></i>
		</ion-item>
	</ion-list>
	
</ion-content>